<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/includeHeader.jsp"%>
<%@ include file="/common/include/dictNames.jsp"%>

<%@ page
	import="com.kylin.module.study.orm.*,com.kylin.common.util.*,com.kylin.common.dict.orm.Dict,com.kylin.common.paginate.DisplayPage,com.kylin.module.user.orm.*"%>
<table cellspacing="0" cellpadding="0" class="lessl">
	<tr>
		<td>
			<bean:message key="study.11"/>
		</td>
	</tr>
</table>
<table class="lessl01" cellspacing="0" cellpadding="0">
<%
	if (request.getAttribute(Constants.KEY_REQUEST_RESULT) instanceof DisplayPage) {
		DisplayPage dispage = (DisplayPage) request.getAttribute(Constants.KEY_REQUEST_RESULT);
		List list = dispage.getList();
		if(list != null && list.size() > 0){
			Courseware obj = (Courseware) list.get(0);
%>
	<tr>
		<td>
			<img src="/images/ipic17.jpg" width="173" height="148" />
		</td>
	</tr>

	<tr>
		<td>
			<a href="/module/study/courseware.do?CMD=detail&id=<%=obj.getId() %>" target="_blank">
    			<%=obj.getTitle()%>
    		<%
		        if(obj.getMediapath()!=null && !obj.getMediapath().equals("") ){
		    %>
		        <a href="/common/playMedia.jsp?fileType=<%=Constants.MEDIA_COURSE%>&fileUrl=<%=obj.getMediapath()%>&imgpath<%=obj.getId()%>=<%=obj.getMediapath() %>" target="_blank">
		        	<img src="/images/mpic03.gif" width="21" height="12" />
		        </a>
		    <%
		        }
		    %>
			</a>
			<br>
			<%=obj.getTranslatation() %>
		</td>
	</tr>
<%
		}
	} else {
		out.println("<tr><td>&nbsp;</td></tr>");
	}
%>
</table>
